package model23.guancha;

/**
 * @author ilongsay
 * @date: Create in 2020-03-24 9:58
 */
public class WeatherData implements Observer {

    private String data;
    private String level;

    @Override
    public void update(String data, String level) {
        this.data = data;
        this.level = level;
    }

    public void display() {
        System.out.println(data);
        System.out.println("==========");
        System.out.println(level);
    }
}
